package com.linzi.common.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author chenmaolin
 * @date 2021-03-13
 * 注解是有的字段有关联字段需要提交， 比如等级名称对应需要把等级id传给后端
 */
@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface DifferentField {
    String desc();

    String format() default "";

    String afterString() default "";
}
